<h1>Listing insurance_companies</h1>

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Created by</th>
      <th>Updated by</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @insurance_companies.each do |insurance_company| %>
      <tr>
        <td><%= insurance_company.name %></td>
        <td><%= insurance_company.created_by %></td>
        <td><%= insurance_company.updated_by %></td>
        <td><%= link_to 'Show', insurance_company %></td>
        <td><%= link_to 'Edit', edit_insurance_company_path(insurance_company) %></td>
        <td><%= link_to 'Destroy', insurance_company, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Insurance company', new_insurance_company_path %>
